<div class="modal-header">
    <h3>新建区域</h3>
</div>
<div class="modal-body">
    <form [formGroup]="form">
        <div class="from-group">
            <label for="">节点名称</label>
            <input name="name" class="form-control" formControlName="name" />
        </div>
        <div class="form-group">
            <label for="">节点描述</label>
            <input class="form-control" formControlName="des" />
        </div>
    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-secondary" (click)="cancel()">取消</button>
    <button class="btn btn-primary" (click)="save()">保存</button>
</div>